const myRoutes =
{
    code: 0,
    data: {
        path: "/",
        name: "/",
        redirect: "/home",
        component: "layout/index",
        children: [

            {
                path: "/home",
                name: "home",
                component: "home",
                meta: {
                    title: "message.router.home",
                    isLink: "",
                    isHide: false,
                    isKeepAlive: true,
                    isAffix: true,
                    isIframe: false,
                    auth: ["admin", "test"],
                    icon: "iconfont icon-shouye"
                }
            },
            {
                path: "/token",
                name: "TokenList",
                component: "token/index",
                meta: {
                    title: "message.router.TokenList",
                    isLink: "",
                    isHide: false,
                    isKeepAlive: true,
                    isAffix: false,
                    isIframe: false,
                    auth: ["admin", "test"],
                    icon: "el-icon-s-order"
                }
            }
        ]
    }
}


export function getMenu() {
    return new Promise((resolve, reject) => {
        resolve(myRoutes)
    })
}